From a1bae4b389d09bc8c42576729dc160cf73199a74 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 7 Jul 2014 20:05:56 +0200 Subject: [PATCH] reftests: Add a reftest for 'animation-direction' It tests the latest two commits. --- testsuite/reftests/Makefile.am | 3 + testsuite/reftests/animation-direction.css | 58 ++ testsuite/reftests/animation-direction.ref.ui | 463 ++++++++++++++++ testsuite/reftests/animation-direction.ui | 495 ++++++++++++++++++ 4 files changed, 1019 insertions(+) create mode 100644 testsuite/reftests/animation-direction.css create mode 100644 testsuite/reftests/animation-direction.ref.ui create mode 100644 testsuite/reftests/animation-direction.ui diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am index 702a0fc015..fa505b3854 100644 --- a/testsuite/reftests/Makefile.am +++ b/testsuite/reftests/Makefile.am @@ -50,6 +50,9 @@ testdata = \ alignment-props.css \ alignment-props.ref.ui \ alignment-props.ui \ + animation-direction.css \ + animation-direction.ref.ui \ + animation-direction.ui \ background-area.css \ background-area.ref.ui \ background-area.ui \ diff --git a/testsuite/reftests/animation-direction.css b/testsuite/reftests/animation-direction.css new file mode 100644 index 0000000000..ed680fd628 --- /dev/null +++ b/testsuite/reftests/animation-direction.css @@ -0,0 +1,58 @@ +@keyframes anim { + from { color: red; } + 50% { color: red; } + 50.000001% { color: yellow; } + to { color: yellow; } +} + +.direction-normal, .direction-reverse, .direction-alternate, .direction-alternate-reverse { + animation: anim 20s infinite; +} + +.direction-normal { + animation-direction: normal; +} + +.direction-reverse { + animation-direction: reverse; +} + +.direction-alternate { + animation-direction: alternate; +} + +.direction-alternate-reverse { + animation-direction: alternate-reverse; +} + +.delay-5s { + animation-delay: -5s; +} + +.delay-15s { + animation-delay: -15s; +} + +.delay-25s { + animation-delay: -25s; +} + +.delay-35s { + animation-delay: -35s; +} + +.delay-45s { + animation-delay: -45s; +} + +.delay-55s { + animation-delay: -55s; +} + +.delay-65s { + animation-delay: -65s; +} + +.delay-75s { + animation-delay: -75s; +} diff --git a/testsuite/reftests/animation-direction.ref.ui b/testsuite/reftests/animation-direction.ref.ui new file mode 100644 index 0000000000..192012cf3c --- /dev/null +++ b/testsuite/reftests/animation-direction.ref.ui @@ -0,0 +1,463 @@ + + + + + + False + popup + + + True + False + + + True + False + XXX + + + + + + 0 + 0 + + + + + True + False + XXX + + + + + + 1 + 0 + + + + + True + False + XXX + + + + + + 2 + 0 + + + + + True + False + XXX + + + + + + 4 + 0 + + + + + True + False + XXX + + + + + + 6 + 0 + + + + + True + False + XXX + + + + + + 1 + 1 + + + + + True + False + XXX + + + + + + 3 + 1 + + + + + True + False + XXX + + + + + + 5 + 1 + + + + + True + False + XXX + + + + + + 7 + 1 + + + + + True + False + XXX + + + + + + 0 + 2 + + + + + True + False + XXX + + + + + + 3 + 2 + + + + + True + False + XXX + + + + + + 4 + 2 + + + + + True + False + XXX + + + + + + 7 + 2 + + + + + True + False + XXX + + + + + + 1 + 3 + + + + + True + False + XXX + + + + + + 2 + 3 + + + + + True + False + XXX + + + + + + 5 + 3 + + + + + True + False + XXX + + + + + + 6 + 3 + + + + + True + False + XXX + + + + + + 3 + 0 + + + + + True + False + XXX + + + + + + 0 + 1 + + + + + True + False + XXX + + + + + + 5 + 0 + + + + + True + False + XXX + + + + + + 6 + 1 + + + + + True + False + XXX + + + + + + 7 + 0 + + + + + True + False + XXX + + + + + + 6 + 2 + + + + + True + False + XXX + + + + + + 4 + 1 + + + + + True + False + XXX + + + + + + 2 + 1 + + + + + True + False + XXX + + + + + + 1 + 2 + + + + + True + False + XXX + + + + + + 0 + 3 + + + + + True + False + XXX + + + + + + 2 + 2 + + + + + True + False + XXX + + + + + + 3 + 3 + + + + + True + False + XXX + + + + + + 4 + 3 + + + + + True + False + XXX + + + + + + 5 + 2 + + + + + True + False + XXX + + + + + + 7 + 3 + + + + + + diff --git a/testsuite/reftests/animation-direction.ui b/testsuite/reftests/animation-direction.ui new file mode 100644 index 0000000000..647449b3fd --- /dev/null +++ b/testsuite/reftests/animation-direction.ui @@ -0,0 +1,495 @@ + + + + + + False + popup + + + True + False + + + True + False + XXX + + + + 0 + 0 + + + + + True + False + XXX + + + + 0 + 1 + + + + + True + False + XXX + + + + 0 + 2 + + + + + True + False + XXX + + + + 0 + 3 + + + + + True + False + XXX + + + + 1 + 3 + + + + + True + False + XXX + + + + 2 + 3 + + + + + True + False + XXX + + + + 3 + 3 + + + + + True + False + XXX + + + + 4 + 3 + + + + + True + False + XXX + + + + 5 + 3 + + + + + True + False + XXX + + + + 6 + 3 + + + + + True + False + XXX + + + + 7 + 3 + + + + + True + False + XXX + + + + 1 + 2 + + + + + True + False + XXX + + + + 2 + 2 + + + + + True + False + XXX + + + + 3 + 2 + + + + + True + False + XXX + + + + 4 + 2 + + + + + True + False + XXX + + + + 5 + 2 + + + + + True + False + XXX + + + + 6 + 2 + + + + + True + False + XXX + + + + 7 + 2 + + + + + True + False + XXX + + + + 1 + 1 + + + + + True + False + XXX + + + + 2 + 1 + + + + + True + False + XXX + + + + 3 + 1 + + + + + True + False + XXX + + + + 4 + 1 + + + + + True + False + XXX + + + + 5 + 1 + + + + + True + False + XXX + + + + 6 + 1 + + + + + True + False + XXX + + + + 7 + 1 + + + + + True + False + XXX + + + + 1 + 0 + + + + + True + False + XXX + + + + 2 + 0 + + + + + True + False + XXX + + + + 3 + 0 + + + + + True + False + XXX + + + + 4 + 0 + + + + + True + False + XXX + + + + 5 + 0 + + + + + True + False + XXX + + + + 6 + 0 + + + + + True + False + XXX + + + + 7 + 0 + + + + + + -- 2.30.2